package cn.wolfcode.luowowo.comment.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Setter
@Getter
@Document("answer_comment")
public class AnswerComment implements Serializable{
    @Id
    private String id;

    private String qId;

    private Long userId;

    private String username;

    private Integer level;

    private String headUrl;

    private Date answerTime;

    private String content;
    private Integer thumbupnum = 0;

    private List<Long> thumbuplist = new ArrayList<>();

}
